<HTML>
 <HEAD>
  <TITLE>定义更灵活的信息提示框</TITLE>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <link rel="stylesheet" type="text/css" href="../../ext-4.0/resources/css/ext-all.css" />
  <script type="text/javascript" src="../../ext-4.0/bootstrap.js"></script>
  <script type="text/javascript" src="../../ext-4.0/locale/ext-lang-zh_CN.js"></script>
  <script type="text/javascript">
	  Ext.onReady(function(){
		 Ext.MessageBox.show({
			title:'提示',
			msg:'我有三个按钮，和一个多行文本区。',
			modal:true,
			prompt:true,
			value:'请输入',
			fn:callBack,
			buttons:Ext.Msg.YESNOCANCEL,
			icon:Ext.Msg.QUESTION  
		})
		function callBack(id,msg){
			alert('单击的按钮ID是：'+id+'\n'+'输入的内容是：'+msg);
		}
	  });
  </script>
 </HEAD>
 <BODY>
  
 </BODY>
</HTML>
